﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.WmsManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.WmsManagement.StoretakeVMs
{
    public partial class StoretakeBatchVM : BaseBatchVM<Storetake, Storetake_BatchEdit>
    {
        public StoretakeBatchVM()
        {
            ListVM = new StoretakeListVM();
            LinkedVM = new Storetake_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class Storetake_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._Storetake._Material")]
        public long? MaterialId { get; set; }
        [Display(Name = "_Model._Storetake._MaterialName")]
        public string MaterialName { get; set; }
        [Display(Name = "_Model._Storetake._Sheet")]
        public long? SheetId { get; set; }
        [Display(Name = "_Model._Storetake._SheetCode")]
        public long? SheetCode { get; set; }
        [Display(Name = "_Model._Storetake._ExpectedQty")]
        public decimal? ExpectedQty { get; set; }
        [Display(Name = "_Model._Storetake._CountedQty")]
        public decimal? CountedQty { get; set; }
        [Display(Name = "_Model._Storetake._VarianceQty")]
        public decimal? VarianceQty { get; set; }
        [Display(Name = "_Model._Storetake._StocktakeDate")]
        public DateTime? StocktakeDate { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}